module StatusObject
  class Status
    attr_reader :message, :obj, :notice, :obj_id
    def initialize(options = {})
      @success = options[:success]
      @message = options[:message]
      @notice = options[:notice]
      @obj = options[:obj]
      @obj_id = options[:obj_id]
    end

    def success?
      @success
    end
  end
end
